encoding/json.Decoder.scanp (field)
25 uses
encoding/json (current package)
stream.go#L18: scanp int // start of unread data in buf
stream.go#L67: dec.d.init(dec.buf[dec.scanp : dec.scanp+n])
stream.go#L68: dec.scanp += n
stream.go#L84: return bytes.NewReader(dec.buf[dec.scanp:])
stream.go#L92: scanp := dec.scanp
stream.go#L139: n := scanp - dec.scanp
stream.go#L141: scanp = dec.scanp + n
stream.go#L143: return scanp - dec.scanp, nil
stream.go#L149: if dec.scanp > 0 {
stream.go#L150: dec.scanned += int64(dec.scanp)
stream.go#L151: n := copy(dec.buf, dec.buf[dec.scanp:])
stream.go#L153: dec.scanp = 0
stream.go#L317: dec.scanp++
stream.go#L327: dec.scanp++
stream.go#L379: dec.scanp++
stream.go#L388: dec.scanp++
stream.go#L398: dec.scanp++
stream.go#L407: dec.scanp++
stream.go#L417: dec.scanp++
stream.go#L423: dec.scanp++
stream.go#L428: dec.scanp++
stream.go#L491: for i := dec.scanp; i < len(dec.buf); i++ {
stream.go#L496: dec.scanp = i
stream.go#L511: return dec.scanned + int64(dec.scanp)
![]() |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |